package com.grass.cropTradingCenter.domain.repository;

import com.grass.cropTradingCenter.pojo.dto.CropDto;
import com.grass.cropTradingCenter.pojo.entity.Goods;
import com.grass.cropTradingCenter.pojo.vo.user.CropSearchVo;

import java.util.List;

public interface CropRepository {
    List<Goods> getGoodsList(CropSearchVo vo);

    Goods cropDetail(int id, boolean isAddBrowse);

    void updateStarNum(int goodsId, int num);

    List<Goods> getGoodsListByShopId(int shopId);

    List<CropDto> getCropByShopId(int shopId);
}
